package com.ai.platform.job;

import org.quartz.*;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

/**
 * Created by yeyingsheng on 2018/4/9.
 * 数据同步任务
 */
@PersistJobDataAfterExecution
@DisallowConcurrentExecution
@Component
public class SqlDataTask  implements Job {

    private Logger logger = LoggerFactory.getLogger(SqlDataTask.class);

    @Override
    public void execute(JobExecutionContext context) throws JobExecutionException {
       //读取配置
      //查询任务参数


    }
}
